home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 16984 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: jupiter.sun.csd.unb.ca!e5ir
  2. From: e5ir@jupiter.sun.csd.unb.ca (Paul Vermette [NiD/BiM])
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: How do you use DOS extenders?
  5. Date: 12 Apr 1996 23:15:26 GMT
  6. Organization: University of New Brunswick, Fredericton, NB, Canada
  7. Distribution: world
  8. Message-ID: <4kmo6e$csu@sol.sun.csd.unb.ca>
  9. References: <4km93g$1cui@usenetp1.news.prodigy.com>
  10. NNTP-Posting-Host: jupiter-alt3.unb.ca
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Mark Rubelmann (XKWR65B@prodigy.com) wrote:
  14. : I'm using BC++ v3.0. I'm trying to load a graphic into memory that's 
  15. : 64000 bytes. The 'new' command fails when I try to allocate this memory. 
  16. : I was wondering if a DOS extender such as dos4gw is the solution. I tried 
  17. : to use one but could not figure out how. Also, should I be using a 
  18. : different command like _farmalloc? I tried that too with no success. What 
  19. : do I do???
  20.  
  21. To use DOS4GW you need the watcom c compiler and use the option to compile 
  22. in flat mode... This is my personal choice of language to develope 
  23. graphics for msdos..
  24.  
  25.  
  26. --
  27.               '''                    ______      _____
  28.              (o o)                 /_____ /\   /_____ /|  / \        /|
  29. .------oOOO---(_)---------------. |   __  \/| |_    _|/  |\   \    /| |
  30. |    Paul Vermette [NiD/BiM]    | |  |__|  |/   |  | |   |  \   \/  | |
  31. |          e5ir@unb.ca          | |       /\    |  | |   |    \/    | |
  32. | B O D i E S  i N  M o T i O N | |   __  \/|   |  | |   |  \    /  | |
  33. `-------------------oOOO--------' |  |__|  |/  /|  |/ /| |  | \//|  | |
  34.             |__|__|               |_______/   |______|/  |__|/   |__|/
  35.              || ||                /BODIES/   ////IN//   ////MOTION//
  36.             ooO Ooo               //////   ////////   ////    ////
  37.